package link.wangkui.lamda.convenient.reference;

public class Person {
    String firstName;
    String lastName;

    public String getFirstName() {
        return firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public Person() {}

    public Person(String firstName, String lastName) {
        this.firstName = firstName;
        this.lastName = lastName;
    }
    @Override
    public String toString(){
        return "Person[firstName="+firstName+", lastName="+lastName+"]";
    }

}
